package com.rules.admin.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rules.admin.json.Long2String;
import com.rules.admin.json.String2Long;
import lombok.Data;

import java.io.Serializable;


@Data
@TableName("RUL_VALIDATOR")
public class ValidatorModel  implements Serializable {
    @JsonSerialize(
            using = Long2String.class
    )
    @JsonDeserialize(
            using = String2Long.class
    )

    private Long id;
    @JsonSerialize(
            using = Long2String.class
    )
    @JsonDeserialize(
            using = String2Long.class
    )

    private Long projectId;

    private String validatorName;

    private String validator;

    private String validatorType;
    private static final long serialVersionUID = 1L;

    public ValidatorModel() {
    }


}